Syntax fixes for non-Windows, non-Mac jeeps code.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Wed, 10 Sep 2008 15:36:26 +0000 (15:36 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Wed, 10 Sep 2008 15:36:26 +0000 (15:36 +0000)
gpsbabel/jeeps/gpslibusb.c

index a2c5be780ad4c482f5554b41ccd6446b1bbd7ae4..2a353d01c2f7f40374a33fbb85de3d20b7aa0e1a 100644 (file)
@@ -67,7 +67,7 @@ static
 char ** os_get_garmin_mountpoints() 
 {
        // Hacked for testing.
-       return { ".", NULL };
+       return NULL;
 }
 #elif __APPLE__
 // In fantasy land, we'd query iokit for enumerated devices of the Garmin
@@ -84,7 +84,7 @@ char ** os_get_garmin_mountpoints()
 #elif
 char ** os_get_garmin_mountpoints() 
 {
-       return {NULL};
+       return NULL;
 }
 #endif